/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package net.dntuan.simplexmlbundle.model;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Default;
import org.simpleframework.xml.DefaultType;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

/**
 *
 * @author tuandn
 */
@Root
@Default(DefaultType.FIELD)
public class RSS {

    @Attribute
    private float version;
    @Element(name = "channel")
    private Channel channel;

    public float getVersion() {
        return version;
    }

    public void setVersion(float version) {
        this.version = version;
    }

    public void setChannel(Channel channel) {
        this.channel = channel;
    }

    public Channel getChannel() {
        return channel;
    }
}
